import axios from 'axios'
import React, { useEffect } from 'react'

export default function App() {
  //刚加载就发送请求
  useEffect(()=>{
    axios.get('/api1/user')
  },[])
  return (
    <div>App</div>
  )
}
